package com.zfzs.post.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @description: 验证码登录
 * @author: ck
 * @create: 2019-08-23 17:07
 **/
@Data
public class LoginCodeDTO {
    //手机号码
    @NotBlank (message = "请输入手机号码")
    private String phone;
    //验证码
    @NotBlank (message = "请输入验证码")
    private String code;
    //获取验证码的key值
    @NotBlank (message = "uuid必填")
    private String uuid;
    @NotNull (message = "渠道ID必填")
    private Long channelId;
}
